#include "cv.h"
#include <highgui.h>
#include <iostream>

#include "handLocaliser.h"

using namespace std;
using namespace cv;



int main( int argc, const char** argv ) {
	
	HandLocaliser* hl = new HandLocaliser();
	
	//TODO : Use resource tracker
	
	//FIX : Is this actually RGB, or might it be something else?
	
	//Mat image = imread( "../../samples/facetest1.jpg", 1 );
	
	Mat image = imread( argv[1], 1 ); //TODO asking for bad input!
	
	hl->computeHistogram( image );
	
	
	return 0;
	
}